class BaseActions:
    def __init__(self, log_prefix, ws_client):
        self.log_prefix = log_prefix
        self.ws_client = ws_client

    async def log(self, message, message_type=1):
        await self.ws_client.broadcast_log(message_content=f"{self.log_prefix} {message}", message_type=message_type)